package com.example.configuration;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @Date 2022/1/24
 * @Created by Jonathan
 */
public class ConfigurationMain {
	public static void main(String[] args) {
		AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(AppConfig.class);
		AppConfig bean = ctx.getBean(AppConfig.class);
		System.out.println(bean);
	}
}
